package com.jzo2o.health.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.jzo2o.health.model.domain.ReservationSetting;
import com.jzo2o.health.model.dto.request.ReservationSettingUpsertReqDTO;
import com.jzo2o.health.model.dto.response.ReservationDateResDTO;
import com.jzo2o.health.model.dto.response.ReservationSettingResDTO;
import org.springframework.stereotype.Service;
import org.springframework.web.multipart.MultipartFile;

import java.io.IOException;
import java.util.List;

/**
 * TODO
 *
 * @Author anjing
 * @Date 2024/12/14 10:22
 */
@Service
public interface IReservationSettingService extends IService<ReservationSetting> {
    List<ReservationSettingResDTO> getReservationByMonth(String date);

    void editNumberByDate(ReservationSettingUpsertReqDTO reservationSettingUpsertReqDTO);
    //批量插入
    void upload(MultipartFile file) throws IOException;

    //用户查询可以预约的时间
    ReservationDateResDTO getReservationDateByMonth(String month);
}
